package com.qijian.maindata.domain.query;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;

import java.util.Set;

import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * cnc对象 查询条件类
 *
 * @author qijian
 * @date 2022-04-25
 */

@Data
@ToString
@TableName("main_cnc")
public class CncQuery {

    @WhereType(filed = "id", sort = true)
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "contact_way")
    private String contactWay;
    @WhereType(filed = "project_id")
    private Long projectId;
    @WhereType(filed = "project_name", type = WhereTypeEnum.LIKE)
    private String projectName;
    @WhereType(filed = "device_id")
    private Long deviceId;
    @WhereType(filed = "device_name")
    private String deviceName;
    @WhereType(filed = "device_location")
    private String deviceLocation;
    @WhereType(filed = "item_id")
    private Long itemId;
    @WhereType(filed = "item_name")
    private String itemName;
    @WhereType(filed = "line_process_id")
    private Long lineProcessId;
    @WhereType(filed = "line_process_name", type = WhereTypeEnum.LIKE)
    private String lineProcessName;
    @WhereType(filed = "approval_by")
    private String approvalBy;
    @WhereType(filed = "approval_time", type = WhereTypeEnum.BETWEEN)
    private Date[] approvalTime;
    @WhereType(filed = "approval_status")
    private String approvalStatus;
    @WhereType(filed = "drawing_requirement")
    private String drawingRequirement;
    @WhereType(filed = "remark")
    private String remark;
    @WhereType(filed = "create_id")
    private Long createId;
    @WhereType(filed = "create_by", type = WhereTypeEnum.LIKE)
    private String createBy;


}
